let h1=document.getElementsByTagName("h1")[0];
h1.onclick=function(){
    alert("hello");
}